package com.gr.service.impl;

import com.gr.entity.Record;
import com.gr.dao.RecordMapper;
import com.gr.service.IRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author guoran
 * @since 2022-05-01
 */
@Service
public class RecordServiceImpl extends ServiceImpl<RecordMapper, Record> implements IRecordService {
    @Resource
    private RecordMapper rm;
    @Override
    public List<Record> selectByStuId(int stuId) {
        return rm.selectByStuId(stuId);
    }
}
